package io.github.talelin.latticy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.github.talelin.latticy.mapper.TestsMapper;
import io.github.talelin.latticy.model.TestsDO;
import io.github.talelin.latticy.service.TestsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author generator@tomingto
 * @since 2021-05-26
 */
@Service
public class TestsServiceImpl extends ServiceImpl<TestsMapper, TestsDO> implements TestsService {
    @Autowired
    private TestsMapper testsMapper;

    @Override
    public List<TestsDO> findAll() {
        List<TestsDO> testsDOS = testsMapper.selectList(null);
        return testsDOS;
    }

}
